package com.testfileupload.uploadimg.design.single.chan;

public class Minister {
    public static void main(String[] args) {
//        定义五个大臣
        int sizeMinisters = 5;
        for (int i = 0; i < sizeMinisters; i++) {
            Emperor instence = Emperor.getInstence();
            System.out.println("第"+i+"个大臣面见的皇帝是");
            instence.say();
        }
    }
}
